package com.powergisol.gis.controller;

import com.powergisol.gis.service.TabProjectService;
import com.powergisol.gis.util.Result;
import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

import java.util.Arrays;
import java.util.List;

@RestController
@RequestMapping(value = "/project")
public class TabProjectController {
    @Autowired
    TabProjectService tabProjectService;

    @RequestMapping(value = "/getprojectallclass",method = RequestMethod.GET)
    public Result getProjectAllClass(){
        return tabProjectService.getProjectAllClass();
    }
    @RequestMapping(value = "/getprojectallclasstwo",method = RequestMethod.GET)
    public Result getProjectAllClassTwo(){
       return tabProjectService.getProjectAllClassTwo();
    }

}
